package com.qyer.search.model;

import com.qyer.search.model.middle.ExtendEntity;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.List;
/**
 * Created by tangzheng on 16/6/15.
 */
public class ZTagEntity {
  //ST集合
  private Set<Integer> s_type_set;
  private Map<String, Integer> s_type_map;
  //STG集合
  private Set<Integer> s_type_group_set;
  private Map<String, Integer> s_type_group_map;
  //STG筛选项列表
  private Map<Integer, List<Integer>> STG_Filter;
  //ST筛选项列表
  private Map<Integer, List<Integer>> ST_Filter;
  //STG和ST关系列表
  private Map<Integer, List<Integer>> positiveMap;
  //ST和STG关系列表
  private Map<Integer, List<Integer>> negativeMap;
  //按STG排序列表
  private Map<Integer, Map<Integer,Integer>> sortedMap;
  //商品STG属性列表
  private Map<Integer, List<Integer>> productTypeMap;
  //STG顺序
  private Map<Integer, Integer> order_STG;
  //营销标签
  private Set<Integer> market_tag_Set;
  //扩展tag,stg
  private Set<Integer> extend_stg;
  //扩展tag,st
  private Set<Integer> extend_st;
  //扩展tag,half
  private Map<Integer,List<ExtendEntity>> extend_half;


  public ZTagEntity() {
    s_type_set = new HashSet<>();
    s_type_group_set = new HashSet<>(8);
    STG_Filter = new HashMap<>();
    ST_Filter = new HashMap<>();
    positiveMap = new HashMap<>();
    negativeMap = new HashMap<>();
    sortedMap = new HashMap<>();
    productTypeMap =new HashMap<>();
    s_type_group_map = new HashMap<>();
    s_type_map = new HashMap<>();
    order_STG = new HashMap<>();
    market_tag_Set = new HashSet<>();
    //
    //
    extend_stg = new HashSet<>();
    extend_st = new HashSet<>();
    extend_half = new HashMap<>();
  }

  public Set<Integer> getExtend_stg() {
    return extend_stg;
  }

  public void setExtend_stg(Set<Integer> extend_stg) {
    this.extend_stg = extend_stg;
  }

  public Set<Integer> getExtend_st() {
    return extend_st;
  }

  public void setExtend_st(Set<Integer> extend_st) {
    this.extend_st = extend_st;
  }

  public Map<Integer, List<ExtendEntity>> getExtend_half() {
    return extend_half;
  }

  public void setExtend_half(Map<Integer, List<ExtendEntity>> extend_half) {
    this.extend_half = extend_half;
  }

  public Map<Integer, List<Integer>> getProductTypeMap() {
    return productTypeMap;
  }

  public void setProductTypeMap(Map<Integer, List<Integer>> productTypeMap) {
    this.productTypeMap = productTypeMap;
  }

  public Set<Integer> getS_type_set() {
    return s_type_set;
  }

  public void setS_type_set(Set<Integer> s_type_set) {
    this.s_type_set = s_type_set;
  }

  public Set<Integer> getS_type_group_set() {
    return s_type_group_set;
  }

  public void setS_type_group_set(Set<Integer> s_type_group_set) {
    this.s_type_group_set = s_type_group_set;
  }

  public void setSTG_Filter(Map<Integer, List<Integer>> STG_Filter) {
    this.STG_Filter = STG_Filter;
  }

  public Map<Integer, List<Integer>> getSTG_Filter() {
    return STG_Filter;
  }

  public Map<Integer, List<Integer>> getST_Filter() {
    return ST_Filter;
  }

  public void setST_Filter(Map<Integer, List<Integer>> ST_Filter) {
    this.ST_Filter = ST_Filter;
  }

  public Map<Integer, List<Integer>> getPositiveMap() {
    return positiveMap;
  }

  public void setPositiveMap(Map<Integer, List<Integer>> positiveMap) {
    this.positiveMap = positiveMap;
  }

  public Map<Integer, List<Integer>> getNegativeMap() {
    return negativeMap;
  }

  public void setNegativeMap(Map<Integer, List<Integer>> negativeMap) {
    this.negativeMap = negativeMap;
  }

  public Map<Integer, Map<Integer, Integer>> getSortedMap() {
    return sortedMap;
  }

  public void setSortedMap(Map<Integer, Map<Integer, Integer>> sortedMap) {
    this.sortedMap = sortedMap;
  }

  public Map<String, Integer> getS_type_map() {
    return s_type_map;
  }

  public void setS_type_map(Map<String, Integer> s_type_map) {
    this.s_type_map = s_type_map;
  }

  public Map<String, Integer> getS_type_group_map() {
    return s_type_group_map;
  }

  public void setS_type_group_map(Map<String, Integer> s_type_group_map) {
    this.s_type_group_map = s_type_group_map;
  }

  public Set<Integer> getMarket_tag_Set() {
    return market_tag_Set;
  }

  public void setMarket_tag_Set(Set<Integer> market_tag_Set) {
    this.market_tag_Set = market_tag_Set;
  }

  public Map<Integer, Integer> getOrder_STG() {
    return order_STG;
  }

  public void setOrder_STG(Map<Integer, Integer> order_STG) {
    this.order_STG = order_STG;
  }

  @Override public String toString() {
    return "ZTagEntity{" +
      "s_type_set=" + s_type_set +
      ", s_type_map=" + s_type_map +
      ", s_type_group_set=" + s_type_group_set +
      ", s_type_group_map=" + s_type_group_map +
      ", STG_Filter=" + STG_Filter +
      ", ST_Filter=" + ST_Filter +
      ", positiveMap=" + positiveMap +
      ", negativeMap=" + negativeMap +
      ", sortedMap=" + sortedMap +
      ", productTypeMap=" + productTypeMap +
      ", order_STG=" + order_STG +
      ", market_tag_Set=" + market_tag_Set +
      ", extend_stg=" + extend_stg +
      ", extend_st=" + extend_st +
      ", extend_half=" + extend_half +
      '}';
  }
}
